package com.weasing.res.domain;

import java.sql.Timestamp;

/**
 * WxAdmin entity. @author MyEclipse Persistence Tools
 */

public class WxAdmin implements java.io.Serializable {

	// Fields

	private Integer id;
	private String username;
	private String password;
	private Integer roleid;
	private String truename;
	private String excardno; // 检查证号
	private String compname;// 单位名称
	private String compshortname;
	private Integer findpassques1; // 找回密码问题1[对应dict索引值]
	private String findpassans1;
	private Integer findpassques2;// 找回密码问题2[对应dict索引值]
	private String findpassans2;
	private Integer status; // 状态 1启用 2禁用
	private Integer lastLoginTime;// 最后一次登陆时间
	private String lastLoginIp;// 最后一次登陆IP
	private Timestamp createtime;// 创建时间
	private WxRole wxRole;

	public WxRole getWxRole() {
		return wxRole;
	}

	public void setWxRole(WxRole wxRole) {
		this.wxRole = wxRole;
	}

	public WxAdmin() {
	}

	/** minimal constructor */
	public WxAdmin(Timestamp createtime) {
		this.createtime = createtime;
	}

	/** full constructor */

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public String getTruename() {
		return this.truename;
	}

	public void setTruename(String truename) {
		this.truename = truename;
	}

	public String getExcardno() {
		return this.excardno;
	}

	public void setExcardno(String excardno) {
		this.excardno = excardno;
	}

	public String getCompname() {
		return this.compname;
	}

	public void setCompname(String compname) {
		this.compname = compname;
	}

	public String getCompshortname() {
		return this.compshortname;
	}

	public void setCompshortname(String compshortname) {
		this.compshortname = compshortname;
	}

	public Integer getFindpassques1() {
		return this.findpassques1;
	}

	public void setFindpassques1(Integer findpassques1) {
		this.findpassques1 = findpassques1;
	}

	public String getFindpassans1() {
		return this.findpassans1;
	}

	public void setFindpassans1(String findpassans1) {
		this.findpassans1 = findpassans1;
	}

	public Integer getFindpassques2() {
		return this.findpassques2;
	}

	public void setFindpassques2(Integer findpassques2) {
		this.findpassques2 = findpassques2;
	}

	public String getFindpassans2() {
		return this.findpassans2;
	}

	public void setFindpassans2(String findpassans2) {
		this.findpassans2 = findpassans2;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Integer lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getLastLoginIp() {
		return this.lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}


}